package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RefundState {
    init(0, "初始化"),
    done(1, "已退款"),
    failed(2, "失败");

    @EnumValue
    private final int code;
    private final String desc;

    RefundState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
